package cn.b.sky.mes.andon.model;

import java.io.Serializable;

import cn.b.sky.common.model.ImeCommon;
import org.apache.commons.lang3.StringUtils;

public class AndonAccount extends ImeCommon implements Serializable{

	private static final long serialVersionUID = 1L;

	private String materialCode;// 物料编号
	
	private String materialText;// 物料描述
	
	private String andonCode;// 安灯编号
  
    private String andonText;// 安灯描述
	
	private String normalColor;// 正常颜色
	
	private String touchColor;// 触发颜色

	private Integer lockFlag=0;//  锁定标记
	
	private String andonTypeCode;// 安灯类型编码
	 
	private String memo; // 备注
	
	private String typeText;// 安灯类型描述

	public String getTypeText() {
		return typeText;
	}

	public void setTypeText(String typeText) {
		this.typeText = typeText;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public Integer getLockFlag() {
		return lockFlag;
	}

	public void setLockFlag(Integer lockFlag) {
		this.lockFlag = lockFlag;
	}

	public String getAndonTypeCode() {
		return andonTypeCode;
	}

	public void setAndonTypeCode(String andonTypeCode) {
		this.andonTypeCode = andonTypeCode;
	}

	public String getMaterialCode() {
		return materialCode;
	}

	public void setMaterialCode(String materialCode) {
		this.materialCode = materialCode;
	}

	public String getMaterialText() {
		return materialText;
	}

	public void setMaterialText(String materialText) {
		this.materialText = materialText;
	}

	public String getNormalColor() {
		return normalColor;
	}

	public void setNormalColor(String normalColor) {
		this.normalColor = normalColor;
	}

	public String getTouchColor() {
		return touchColor;
	}

	public void setTouchColor(String touchColor) {
		this.touchColor = touchColor;
	}

  public String getAndonCode() {
    return StringUtils.upperCase(andonCode);
  }

  public void setAndonCode(String andonCode) {
    this.andonCode = andonCode;
  }

  public String getAndonText() {
    return andonText;
  }

  public void setAndonText(String andonText) {
    this.andonText = andonText;
  }
}
